public class ThirdQuestion {
    public static void main(String[] args) {

         int performance[][]={{22,66,44},{77,33,88},{25,45,65},{11,66,99}};
         int sum=0;
        for (int i = 0; i <performance.length ; i++) {
            sum=0;
            System.out.print("第"+(i+1)+"季度");
            for (int j = 0; j <performance[j].length ; j++) {
                System.out.print( performance[i][j]+" ");
                sum+=performance[i][j];
            }
            System.out.println("\t一共"+sum);
        }
    }
}
